package com.huaqin.customer;

public class SendRetry {
	private boolean mSendRetry = false;
	private static final long ONE_MINUTES = 60 * 1000;
	private long mRetryInterval = 10; //default 10 minutes
	private int mRetryTime = 0;
	
	public void setRetrySwitch(boolean bool){
		mSendRetry = bool;
	}
	
	public boolean getRestryValues(){
		return mSendRetry;
	}
	
	public void setRetryInterval(long interval){
		mRetryInterval = interval;
	}
	
	public long getRetryInterval(){
		return mRetryInterval * ONE_MINUTES;
	}
	
	public void setRetryTime(int time){
		mRetryTime = time;
	}
	
	public int getRetryTime(){
		return mRetryTime;
	}
}
